﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>渝北区微型企业信息管理系统</title>
<style>
	/* Styles for the entire LavaLamp menu */
	/** initialize the browse default value **/
html,body {
	height:100%;
	margin:0 auto;
	font:12px Arial,Helvetica,sans-serif,宋体;
	line-height:180%;
	text-align:left;
	overflow:hidden;
	color:#000;
}

/* M0Z */
body>table,body>div {
	margin-left:auto;
	margin-right:auto;
	clear:both;
} 

a {
	font:12px Arial,Helvetica,sans-serif,宋体;
	color:#000;
	text-decoration:none;
}
a:hover {
	text-decoration: underline;
}

div,tr,th,td,ul,li,img,form,h2,h3,h4 {
	font:12px Arial,Helvetica,sans-serif,宋体;
	margin:0;
	padding:0;
	border:0;
	color:#000;
	overflow:hidden;
}

table,td,li {
	list-style-type: none;
	word-break:break-all;
	Width:fixed;
	line-height:180%;
	border:0;
}

input,select,textarea {
	color:#000; font:12px Arial,Helvetica,sans-serif,宋体;
}
	#header {
	position:absolute;
	left:0px;
	top:0px;
	height:147px;
	width:100%;
}

#menu {
	clear:both;
	overflow:hidden;
}

#sidebar {
	 float:left;
	 clear:left;
     width:217px;
	 height:80%;
	 overflow-y:auto;
	 overflow-x:hidden;
	 background:transparent url(<%=basePath%>app/main2/images/sidebarContext_bg.gif) repeat-y scroll left top;
}

#collapseBar {
	display: table-cell;
	float:left;
	width:11px;
	height:80%;
	padding-left:1px;
	padding-right:0px;
	vertical-align:middle;
	text-align:center;
	*display: block;
	*font-size: 450px;
	background:transparent url(<%=basePath%>app/main2/images/collapse_bg.gif) no-repeat left top;
}

#content {
	left:228px;
	float:left;
	height:80%;
	padding:4px 4px 30px 4px;
	overflow:auto;
	background:transparent url(<%=basePath%>app/main2/images/context_bg.gif) fixed repeat-x scroll left top;
}

#footer {
	position:absolute;
	bottom:0;
	left:0px;
	width:100%;
	height:29px;
	line-height:29px;
	color:#FFF;
	background:transparent url(<%=basePath%>app/main2/images/footer_bg.gif) repeat-x scroll left top;
}

/** the detail  **/
ul#operation_button {
	position:absolute;
	left:840px;
	margin-top:84px;
}

ul#operation_button li {
	display:block;
	float:left;
	margin:0px 6px;
}

#operation_button li a {
	display:block;
	float:left;
	width:48px;
	height:24px;
	font:700 13px "宋体",Arial, Helvetica, sans-serif;
	text-align:center;
	line-height:24px;
	color:#FFF;
	background:transparent url(<%=basePath%>app/main2/images/operaton_bg.gif) no-repeat left top;
}
#operation_button li a:hover {
	text-decoration:none;
	background:transparent url(<%=basePath%>app/main2/images/operaton_bg.gif) no-repeat left bottom;
}

#sidebar div.sideHeader {
	height:32px;
	padding-top:4px;
	padding-left:35px;
	text-align:left;
	color:#FFF;
	background:transparent url(<%=basePath%>app/main2/images/sideHeader_bg.gif) no-repeat scroll left top;
}
#sidebar div.sideContext {
	width:217px;
	margin:0px auto;
}

.sideContext dl {
	margin:0px;
}

.sideContext dl dt {
	height:23px;
	margin:0px 5px 1px;
	text-align:center;
	line-height:23px;
	cursor:pointer;
	background:transparent url(<%=basePath%>app/main2/images/subMenuTitle_bg.gif) no-repeat scroll left top;
}

.sideContext dl dt img {
	cursor:pointer;
}

.sideContext dl dd a {
	line-height:18px;
}
.sideContext dl dd {
	margin:0px;
	padding:0px;
	padding-bottom:0px;
	text-align:center;
}

.sideContext dl dd img {
	display:block;
	margin:0px auto;
}

.msgBox {
	width:197px;
	margin: 8px 10px;
	text-align:center;
}
.msgBoxTop {
	position:relative;
	margin: 0px auto;
	height:27px;
	text-align:left;
	background:url(<%=basePath%>app/main2/images/msgBoxTop.gif) no-repeat left top;
}

.msgBoxTop span {
	margin-left:8px;
	padding-left:40px;
	font:700 14px "宋体",Arial, Helvetica, sans-serif;;
	letter-spacing:3px;
	line-height:27px;
	color:#5c0505;
}
.msgBoxTop span.newMsg {
	background:url(<%=basePath%>app/main2/images/newMsg.gif) no-repeat left center	
}
.msgBoxTop span.video {
	background:url(<%=basePath%>app/main2/images/videoTitle_bg.gif) no-repeat left center	
}
.msgBoxTop a {
	position:absolute;
	top:4px;
	right:8px;
	font:14px "黑体",Times, serif,Arial, Helvetica, sans-serif;;
	
}
.msgBoxContext {
	border:solid #A6A092;
	border-width:0px 1px;
}
.msgBoxContext ul {
	padding:8px 9px;
	text-align:left;;
}
.msgBoxContext li {
	margin-top:5px;
	padding-left:20px;
	padding-bottom:0px;
	line-height:18px;
	background:url(<%=basePath%>app/main2/images/arrow.gif) no-repeat left center;
	border-bottom:1px dotted #000;
}
.msgBoxBottom {
	margin: 0px auto;
	height:5px;
	background:url(<%=basePath%>app/main2/images/msgBoxBottom.gif) no-repeat left top;
}
#collapseBar img {
	vertical-align:middle;
	cursor:pointer;
}

#footer .navigation {
	float:left;
	padding-left:10px;
	color:#FFF;	
}

#footer .dateRegion {
	float:right;
	padding-right:8px;
	color:#FFF;
	vertical-align:middle;
}

#footer .dateRegion img {
	margin:4px 4px 0px;
	vertical-align:middle;
	cursor:pointer;
}

/**  class define **/
.lace {
	height:6px;
	clear:both;
	background:transparent url(<%=basePath%>app/main2/images/lace_bg.gif) repeat-x scroll left top;
}

.fillGrid {
	height:143px;
}

.floatLeft {
	float:left;
}

.floatRight {
	float:right;
}

.browseMore {
	padding-right:8px;
	text-align:right;
}
.bottomFill {
	height:45px;
}

h3 {
	width:207px;
	height:23px;
	margin:0px 5px;
	text-align:center;
	font:normal 13px Arial, Helvetica, sans-serif;
	background:transparent url(<%=basePath%>app/main2/images/sideTitle_bg.gif) no-repeat scroll left top;
}
.lavaLamp {
    position:relative;
    height:31px;
    padding: 0px 15px;padding-right:0px;
	margin:0px;
    overflow:hidden;
	background:transparent url(<%=basePath%>app/main2/images/menu_bg.gif) repeat-x scroll left top;
	border-top:1px solid #0099CC;
}
/* Force the list to flow horizontally */
.lavaLamp li {
	margin-top:1px;
	margin:1px 2px 0px 0px;
	float:left;
	list-style:none;
	background:url("/app/main2/images/menu_spacing.gif") no-repeat right -1px;
}
/* Represents the background of the highlighted menu-item. */
.lavaLamp li.back {
	position:absolute;
	width:16px;
	height:28px;
	z-index:-1;
	background:url("/app/main2/images/menu_tab_curr.gif") no-repeat right bottom;color:
}
.lavaLamp li.back .left {
	background:url("/app/main2/images/menu_tab_curr.gif") no-repeat left top;
	height:28px;
	margin-right:6px;
}

/* Styles for each menu-item. */
.lavaLamp li a {
	position:relative;
	float:left;
	display:block;
	top:0px;
	margin:auto 8px;
	overflow:hidden;
	text-decoration:none;
	text-transform:uppercase;
	font:normal 13px arial;
	line-height:25px;
	color:#000;
	outline:none;
	text-align:center;
	z-index:10;
	letter-spacing:0;
}
.lavaLamp li a:hover, .lavaLamp li a:active, .lavaLamp li a:visited {
	text-decoration:none;
	border: none;
}
</style>
<script type="text/javascript" src="/app/main2/js_sx/jquery-1.1.3.1.min.js"></script>
<script type="text/javascript" src="/app/main2/js_sx/jquery.easing.min.js"></script>
<script type="text/javascript" src="/app/main2/js_sx/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="/app/main2/js_sx/png4ie6.js"></script>
<script type='text/javascript' src="/app/main2/js_sx/ptMenu.js"></script>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body onLoad="setpng();">

<div id="header">
	
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td width="773"  height="112" background="/app/main2/images/top_pt_01.jpg" >
  <s:if test="#session.user.dept.funcType=='XZ'.toString()"> <img src="/app/main2/images/top_zf.png" width="773" height="112" /></s:if>
  <s:elseif test="#session.user.dept.funcType=='JC'.toString()"> <img src="/app/main2/images/top_jc.png" width="773" height="112" /></s:elseif>
  <s:else> <img src="/app/main2/images/top_pt.png" width="773" height="112" /></s:else>
  </td>
    <td background="/app/main2/images/top_pt_02.jpg">&nbsp;</td>
    <td width="292" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="292" height="81"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="292" height="81">
          <param name="movie" value="/app/main2/images/aa.swf" />
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="9.0.45.0" />
          <!-- 此 param 标签提示使用 Flash Player 6.0 r65 和更高版本的用户下载最新版本的 Flash Player。如果您不想让用户看到该提示，请将其删除。 -->
          <param name="expressinstall" value="/app/main2/images/expressInstall.swf" />
          <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 -->
          <!--[if !IE]>-->
          <object type="application/x-shockwave-flash" data="/app/main2/images/aa.swf" width="292" height="81">
            <!--<![endif]-->
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="9.0.45.0" />
            <param name="expressinstall" value="/app/main2/images/expressInstall.swf" />
            <!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->
            <div>
              <h4>此页面上的内容需要较新版本的 Adobe Flash Player。</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="获取 Adobe Flash Player" width="112" height="33" /></a></p>
            </div>
            <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
        </object></td>
      </tr>
      <tr>
        <td height="31" background="/app/main2/images/top_pt_03_02.jpg" align="right" style="padding-right:20px;">
        <table width="80%" border="0" cellspacing="0" cellpadding="0">
          <tr >
          	<td>&nbsp;</td>
            <td width="85"><a href="#"><img src="/app/main2/images/1.jpg" width="67" height="23" id="Image1" onMouseOver="MM_swapImage('Image1','','/app/main2/images/1a.jpg',1)" onMouseOut="MM_swapImgRestore()" onClick="relogin()" /></a></td>
            <td width="85"><a href="#"><img src="/app/main2/images/2.jpg" width="67" height="23" id="Image2" onMouseOver="MM_swapImage('Image2','','/app/main2/images/2a.jpg',1)" onMouseOut="MM_swapImgRestore()" onClick="doexit()" /></a></td>
           </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>

	
    <div id="menu">
        <ul class="lavaLamp" id="lavaLamp">
	<SCRIPT LANGUAGE="JavaScript">
          <!--
          var tree = new MzTreeView("tree");          
          tree.setIconPath("");   
		  tree.iconsrc = "";
		  tree.icondefault = "/app/main2/images/icon_config.jpg";		
		  
tree.nodes['0_main'] = 'text:主页;url:; target:mainFrame; openmodel:0; icon:;icon2:';
tree.nodes['main_b'] = 'text:财政补助管理;url:/app/sys/govmoney/govmoney!list; target:mainFrame; openmodel:0; icon:/app/main2/images/menuimgs/jcavoid.jpg;icon2:/app/main2/images/menuimgs/jcavoid.jpg';
tree.nodes['main_c'] = 'text:自有资金管理;url:/app/sys/selfmoney/selfmoney!list; target:mainFrame; openmodel:0; icon:/app/main2/images/menuimgs/cgsq.jpg;icon2:/app/main2/images/menuimgs/cgsq.jpg';
tree.nodes['main_e'] = 'text:综合报表;url:/app/sys/report/report!list; target:mainFrame; openmodel:0; icon:/app/main2/images/menuimgs/jccaseCheck.jpg;icon2:/app/main2/images/menuimgs/jccaseCheck.jpg';


tree.nodes['0_base'] = 'text:信息维护;url:; target:mainFrame; openmodel:0; icon:;icon2:';
tree.nodes['base_a'] = 'text:微企名单管理;url:/app/sys/comp/comp!list; target:mainFrame; openmodel:0; icon:/app/main2/images/menuimgs/jdqntj.jpg;icon2:/app/main2/images/menuimgs/jdqntj.jpg';
tree.nodes['base_g'] = 'text:用户管理;url:/app/sys/user/user!list; target:mainFrame; openmodel:0; icon:/app/main2/images/menuimgs/zwjc.jpg;icon2:/app/main2/images/menuimgs/zwjc.jpg';
tree.nodes['base_d'] = 'text:修改密码;url:/app/sys/user/user-changepwd.jsp; target:mainFrame; openmodel:0; icon:/app/main2/images/menuimgs/wqbpz.jpg;icon2:/app/main2/images/menuimgs/wqbpz.jpg';




		  
          document.getElementById('lavaLamp').innerHTML = tree.toString();
          
          if(typeof(Function.prototype.apply)!="function")
          {
            Function.prototype.apply = function(obj, argu){
				var s; 
				if(obj){
					obj.constructor.prototype._caller=this; s = "obj._caller";
				} else 
					s = "this"; 
				var a=[];
				for(var i=0; i<argu.length; i++) 
					a[i] = "argu["+ i +"]"; 
				return eval(s +"("+ a.join(",") +");");
			};
            Function.prototype.call  = function(obj){
				var a=[];
				for(var i=1; i<arguments.length; i++)
					a[i-1]=arguments[i]; 
				return this.apply(obj, a);
			}; 
          }
          tree.buildNode = function(id)
          {
            MzTreeView.prototype.buildNode.call(this, id);
		   }
          tree.expandAll = function()
          {
            MzTreeView.prototype.expandAll.call(this);
          }      		 
          //-->              
          </SCRIPT>
        </ul>

    </div>
</div>
<div class="fillGrid"></div>
<div id="sidebar"> 
    <div class="sideHeader">登陆用户：${user.showName }</div>
    <div class="sideContext" id="treeviewarea2"></div>
    <div class="bottomFill"></div>
</div>
<div id="collapseBar"><img alt="闭合/展开" id="collapse" src="/app/main2/images/collapse.gif" /></div>
<div id="content">
		<iframe name="switchFrame" id="switchFrame" width="100%" height="100%" frameBorder="0" src="/app/sys/report/report!list" scrolling="auto"></iframe>
</div>
<div id="footer">
	<span class="navigation">开发单位：重庆云天下信息技术有限公司</span>
	
	
    <div class="dateRegion">
		<!--
    	<img alt="首页" src="/imagesmain.gif" onClick="javascript:$('#switchFrame').attr('src','/ffpt/gcjy/common/blank.htm');" />
        <img alt="消息" src="/images/message.gif" onClick="document.getElementById('bottom').contentWindow.reloadtishi(); 
"/>
        <img alt="视频" src="/images/vedio.gif" />
		-->
    	<span id='aabbccddeeff'></span>
		<script>
				setInterval("showtime();",1000);
				function showtime(){
					var tempstr = new Date().toLocaleString()+' '+'?'.charAt(new Date().getDay());
					var tempstr2 = tempstr.replace("?","");
					aabbccddeeff.innerHTML="<br>"+tempstr2;
				}
		</script>
   </div>
</div>
<script language="JavaScript">
<!--
  tree.fristclick();
  function do_exit(){
    if(confirm('你确认关闭系统吗？')){
      UserLoginout.exit();
      parent.window.close();
    }
  }

	$(function() {
		$("#lavaLamp").lavaLamp({
			fx: "backout", 
			speed: 700,
			click: function(event, menuItem) {
				return false;
			}
		});
	});
	$(document).ready(function(){
		$("#collapse").click(function(){
		 if($("#sidebar").css("width") != "0px"){
				$("#sidebar").css("width", "0px");
				$("#collapse").attr("src", "/app/main2/images/expand.gif");
			} else {
				$("#sidebar").css("width", "217px");
				$("#collapse").attr("src", "/app/main2/images/collapse.gif");
			}
		});
	});
	function logout() {
		window.location.href = "/index.jsp";
	}
//-->
function openSubSys2(url, name){ 
	var userCode ="system|";
	EncryptString.getEncryptString(function getOpen(str){
	var oLink = url +"&sysname=" + encodeURIComponent(name);
	 	oLink+='&userName='+str;
	window.open(oLink);

},userCode);
	return false;
}


function relogin(){
		parent.window.location.href="/index.jsp";
	}
	
	function doexit(){
		parent.window.close();
	}
</script>


</body>
</html> 
<!--冒泡-->
